﻿#contenthost {
    height: 100%;
    width: 100%;
}

.win-appbar#duplikatiBar {
    background-color: rgba(0, 0, 0, 0.72);
    overflow-y: hidden;
    overflow-x: scroll;
    height: 170px;
    white-space: nowrap;
    display: -ms-grid;
	-ms-grid-columns: 1fr 200px;
}

.doublesLV{
	-ms-grid-column: 1;
}

.btnNewGame{
	-ms-grid-column: 2;
    background-color: rgb(128, 128, 128);
    height: 100px;
    width: 150px;
    border-width:0px;
    margin-top:30px;
    margin-right: auto;
    margin-left: auto;
}

.appbar{
	display: -ms-grid;
	-ms-grid-columns: 1fr 100px 1fr;
}

.btnPaket {
    -ms-grid-column: 2;
}

/* ============ For the Duplicates AppBar =====================*/

.doublesGrid {
    background-color: #0253A5;
    display: -ms-grid;
    -ms-grid-rows: 90px 60px;
    -ms-grid-columns: 1fr;
    padding: 5px;
}

.doubleImg {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    max-height: 150px;
    max-width: 150px;
}

.doubleName {
    -ms-grid-row: 2;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.72);
}

/* ====================================================*/
.fragment {
    /* Define a grid with rows for a banner and a body */
    -ms-grid-columns: 1fr 300px;
    -ms-grid-rows: 128px 1fr;
    display: -ms-grid;
    height: 100%;
    width: 100%;
}

    .fragment header[role=banner] {
        /* Define a grid with columns for the back button and page title. */
        -ms-grid-columns: 120px 1fr;
        -ms-grid-rows: 1fr;
        display: -ms-grid;
        -ms-grid-column:1;
        -ms-grid-column-span:2;
    }

        .fragment header[role=banner] .win-backbutton {
            margin-left: 39px;
            margin-top: 59px;
        }

        .fragment header[role=banner] .titlearea {
            -ms-grid-column: 2;
            margin-top: 37px;
        }

            .fragment header[role=banner] .titlearea .pagetitle {
                width: calc(100% - 20px);
            }

    .fragment section[role=main] {
        -ms-grid-row: 1;
        height: 83.33%;
        width: 100%;
    }

/*============ Custom defined ==============*/
.mygrid {
    display: -ms-grid;
    -ms-grid-rows: 80px 1fr 80px;
    -ms-grid-columns: 80px 1fr 80px;
    width: 100%;
    height: 100%;
}


.albumImg {
    -ms-grid-row: 1;
    min-width: 400px;
}

.albumName {
    -ms-grid-row: 2;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.72);
}

.albumsListView {
    -ms-grid-column: 2;
    -ms-grid-row: 2;
    height: 100%;
}

.albumsGrid {
    background-color: #0253A5;
    display: -ms-grid;
    -ms-grid-rows: 400px 40px;
    -ms-grid-columns: 1fr;
}

.wrapper {
    background-image: url('/images/background.jpg');
    background-size: cover;
    height: 100%;
    width: 100%;
}

/*============ Custom defined - ends ==============*/

@media screen and (-ms-view-state: snapped) {
    .fragment header[role=banner] {
        -ms-grid-columns: auto 1fr;
        margin-left: 20px;
    }

        .fragment header[role=banner] .win-backbutton {
            margin: 0;
            margin-right: 10px;
            margin-top: 76px;
        }

            .fragment header[role=banner] .win-backbutton:disabled {
                display: none;
            }

        .fragment header[role=banner] .titlearea {
            -ms-grid-column: 2;
            margin-left: 0;
            margin-top: 68px;
        }

    .mygrid {
        display: -ms-grid;
        -ms-grid-rows: 80px 1fr 80px;
        -ms-grid-columns: 10px 1fr 10px;
        width: 100%;
        height: 100%;
    }


    .albumImg {
        -ms-grid-row: 1;
        -ms-grid-row-span:2;
        min-width: 100px;
    }

    .albumName {
        -ms-grid-row: 2;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.72);
    }

    .albumsListView {
        -ms-grid-column: 2;
        -ms-grid-row: 2;
        height: 100%;
    }

    .albumsGrid {
        background-color: #0253A5;
        display: -ms-grid;
        -ms-grid-rows: 110px 40px;
        -ms-grid-columns: 1fr;
    }
}

@media screen and (-ms-view-state: fullscreen-portrait) {
    .fragment header[role=banner] {
        -ms-grid-columns: 100px 1fr;
    }

        .fragment header[role=banner] .win-backbutton {
            margin-left: 29px;
        }
}
